package com.lablzh.gdxy.service;


import com.lablzh.gdxy.entity.Admin;
import com.lablzh.gdxy.entity.Instructor;
import com.lablzh.gdxy.entity.Student;
import com.lablzh.gdxy.entity.Teacher;
import org.springframework.data.domain.Page;

import java.util.List;


public interface InfoService {
    Student getStudentInfo();
    String putStudentInfo(Student student);
    Page<Student> querystudentSelective(Integer page, Integer limit);

    Teacher getTeacherInfo();
    String putTeacherInfo(Teacher teacher);

    Admin getAdminInfo();
    String putAdminInfo(Admin admin);
    Instructor getInstructorInfo();
    String putInstructorInfo(Instructor instructor);
   /*Instructor getAdminInfo();
    String putAdminInfo(Admin admin);*/

    Admin getAdminInfoByUsername(String username);

    Student getStudentInfoByUsername(String username);

    Teacher getTeacherInfoByUsername(String username);
    Instructor getInstructorInfoByUsername(String username);

    //获取所有教师
    List<Teacher> getAllTeacher();

    List<Student> getAllStudent();
    List<Admin> getAllAdmin();
     List<Instructor> getAllInstructor();
}
